package com.xidian.zhiancloud.service.exam;

import java.util.List;

import com.github.pagehelper.Page;
import com.xidian.zhiancloud.model.exam.TrainingEva;

/**
 * 培训评价Service接口
 * 
 * @author zhouweitao
 * @date 2021-03-16
 */
public interface ITrainingEvaService 
{
    /**
     * 查询培训评价
     * 
     * @param id 培训评价ID
     * @return 培训评价
     */
    public TrainingEva selectTrainingEvaById(Long id);

    /**
     * 查询培训评价列表
     * 
     * @param trainingEva 培训评价
     * @return 培训评价集合
     */
    public Page<TrainingEva> selectTrainingEvaList(TrainingEva trainingEva);

    /**
     * 新增培训评价
     * 
     * @param trainingEva 培训评价
     * @return 结果
     */
    public int insertTrainingEva(TrainingEva trainingEva);

    /**
     * 修改培训评价
     * 
     * @param trainingEva 培训评价
     * @return 结果
     */
    public int updateTrainingEva(TrainingEva trainingEva);

    /**
     * 批量删除培训评价
     * 
     * @param ids 需要删除的培训评价ID
     * @return 结果
     */
    public int deleteTrainingEvaByIds(Long[] ids);

    /**
     * 删除培训评价信息
     * 
     * @param id 培训评价ID
     * @return 结果
     */
    public int deleteTrainingEvaById(Long id);
}
